
<script type="text/javascript" src="js.js"></script>
<form id="MyFrom_113" name="MyFrom_113" enctype="multipart/form-data" method="post" action="{ykt:Save_url}">
<input name="gotourl" id="gotourl" type="hidden" value="{ykt:gotourl}" /><table cellpadding="0" align="center" width="95%" cellspacing="0" border="0">
<tr>
<td class="TdLine" width="140" align="right">banner图:</td>
<td  class="TdLine">
<div style="margin-bottom:5px;display:none" id="FileName_5_imgshow"></div>
				<script type="text/javascript">
				$(function(){
					var img="{ykt:FileName_5}";
					if(img.length>1){
						$("#FileName_5_imgshow").html("<img src=\""+img+"\" height=\"100\" />").show();
					}	
				});
				
				</script>
				

		   <a href="javascript:;" class="a-upload"><input type="file" accept=".jpg,.jpeg,.png,.gif,.bmp,.webp" name="FileName_5">图片上传</a>

		   <input name="FileName_5_path" type="hidden" value="{ykt:FileName_5}" id="FileName_5">

		   <span id="FileName_5_Msg">　</span> [图片地址:<a href="{ykt:FileName_5}" target="_blank">{ykt:FileName_5}</a>]</td>
</tr>

<input name="FileName_1" id="FileName_1" type="hidden" class="InputNone" value="{ykt:FileName_1}"/>

<tr><td align="center" height="30" colspan="2"><span id="pilianadd" style="display:none">添加<input name="SuperNum" type="text" id="SuperNum" value="1" size="4" maxlength="2">条</span><input name="submit" onclick="return CheckFrom()" type="submit" value=" 保 存 " />&nbsp;&nbsp;<input type="button" value=" 取 消 " onclick="javascript:window.history.go(-1)" /></td></tr></table>
</form>
<script type="text/javascript">function CheckFrom(){
document.getElementById("FileName_5_Msg").innerHTML=CharLen(document.getElementsByName("FileName_5")[0].value,0,1000,"<font color='red'></font>");
if(document.getElementById("FileName_5_Msg").innerHTML.length>0){
					document.getElementsByName("FileName_5")[0].select();
					return false;
					}

}
</script>